const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin')
module.exports={
    mode:'production',
    plugins:[
        //压缩css文件
        new OptimizeCssAssetsPlugin()
    ]
}